/* ****************************************************************************
 *
 * Copyright (c) Microsoft Corporation. 
 *
 * This source code is subject to terms and conditions of the Microsoft Public License. A 
 * copy of the license can be found in the License.html file at the root of this distribution. If 
 * you cannot locate the  Microsoft Public License, please send an email to 
 * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 
 * by the terms of the Microsoft Public License.
 *
 * You must not remove this notice, or any other, from this software.
 *
 * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
 * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
 * PARTICULAR PURPOSE.
 * ***************************************************************************/



#if !defined(AFX_PGLPAVEPROPPAGE_H__DD981083_9B34_4E00_888A_F31A721CD18F__INCLUDED_)
#define AFX_PGLPAVEPROPPAGE_H__DD981083_9B34_4E00_888A_F31A721CD18F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <pgl/core/PGLPave.h>

/*! \brief Pave property page.

\ingroup PGLPropPageGroup
*/
class CPGLPavePropPage : public CPropertyPage
{
	DECLARE_DYNCREATE(CPGLPavePropPage)

// Construction
public:
	CPGLPavePropPage(CPGLPaveStPtr pPave = CPGLPaveStPtr());
	~CPGLPavePropPage();

// Dialog Data
	//{{AFX_DATA(CPGLPavePropPage)
	enum { IDD = IDD_PGL_PROPPAGE_PAVE };
	int		m_iBorderType;
	double	m_dBorderSizeBottom;
	double	m_dBorderSizeLeft;
	double	m_dBorderSizeTop;
	double	m_dBorderSizeRight;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CPGLPavePropPage)
	public:
	virtual BOOL OnKillActive();
	virtual BOOL OnSetActive();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	CPGLPaveStPtr m_pPave;
	// Generated message map functions
	//{{AFX_MSG(CPGLPavePropPage)
		// NOTE: the ClassWizard will add member functions here
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PGLPAVEPROPPAGE_H__DD981083_9B34_4E00_888A_F31A721CD18F__INCLUDED_)
